let all = prompt("请输入银行卡总额");
let electricity = prompt("请输入电费");
let water = prompt("请输入水费");
let internet = prompt("请输入网费");
let balance = all - electricity - water - internet;

document.write(`
    <div>
        <h1>
            <span>我也不知道这是多少年</span>的消费支出
        </h1>
        <h3>
            (反正是月光族就对了.jpg)
        </h3>
        <table border>
            <tr>
                <th>银行卡总额</th>
                <th>电费</th>
                <th>水费</th>
                <th>网费</th>
                <th>银行卡余额</th>
            </tr>
            <tr>
                <td>${all}</td>
                <td>${electricity}</td>
                <td>${water}</td>
                <td>${internet}</td>
                <td>${balance}</td>
            </tr>
        </table>
    </div>
`);